package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.ClientsFollowBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface ClientsFollowService extends BaseService<ClientsFollowBean> {

	ClientsFollowBean getClientsFollowBeanById(String id) throws Exception;
	
	void removeClientsFollowBeanById(String id) throws Exception;
	
	void removeClientsFollowBeanByIds(String ids) throws Exception;
	
	ClientsFollowBean saveClientsFollowBean(ClientsFollowBean crm) throws Exception;
	
	ClientsFollowBean updateClientsFollowBean(ClientsFollowBean crm) throws Exception;
	
	Page<ClientsFollowBean>  findClientsFollowBeanByCond(ClientsFollowBean bean,
			Page<ClientsFollowBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveClientsFollowBeanExt(String sql) throws Exception;

	String findClientsFollowBeanExtCreate(String tableName) throws Exception;

	String findClientsFollowBeanExtEdit(String tableName, String id)
			throws Exception;

	String findClientsFollowBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasClientsFollowBeanExtData(String tableName, String id)
			throws Exception;
}